package cn.uniquesoft.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cn.uniquesoft.controller.base.BaseController;
import cn.uniquesoft.service.IDicClassesService;
import cn.uniquesoft.service.IDicDetailsService;
import cn.uniquesoft.service.base.IBaseService;
import cn.uniquesoft.vo.DicClassesVO;
import cn.uniquesoft.vo.DicDetailsVO;
@Controller
@SuppressWarnings("unused")
@RequestMapping(value = "/dicdetails")
public class DicDetailsController extends BaseController<DicDetailsVO>{
private IDicDetailsService dicDetailsService;
public DicDetailsController(IDicDetailsService dicDetailsService) {
	super();
	this.dicDetailsService = dicDetailsService;
	this.baseService = (IBaseService<DicDetailsVO>) dicDetailsService;
	this.indexName = "dicdetails/index";
}

@RequestMapping(value = "/ckmx",method = RequestMethod.GET)
public String glda(String ckey,Model model) {
	model.addAttribute("ckey", ckey);
	return "dicdetails/index";
}
}
